package org.ndx.jsg.input.adapter;

import java.io.File;

import org.apache.tika.metadata.Metadata;
import org.ndx.jsg.FileInfos;
import org.ndx.jsg.input.AbstractFileInfo;

/**
 * An adapter class for FileInfos, providing no supplentar featuress
 * @author ndx
 *
 */
public class FileInfosAdapter extends AbstractFileInfo implements FileInfos {

	public FileInfosAdapter(File file, String relativePath, Metadata metadata) {
		super(file, relativePath, metadata);
	}

	@Override
	public String toString() {
		StringBuilder sOut = new StringBuilder();
		sOut.append(getClass().getName()).append(" for ").append(getFile().getAbsolutePath());
		return sOut.toString();
	}
}
